package com.web;

import com.pojo.ZhuanJia_wzl;
import com.service.ZhuanJiaService_wzl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/zhuanjia")
public class ZhuanJiaController_wzl {
    @Autowired
    private ZhuanJiaService_wzl zhuanJiaServiceWzl;
    @RequestMapping("/listZhuanJia")
    public List<ZhuanJia_wzl> listZhuanJia_wzl(String zName){
        return zhuanJiaServiceWzl.listZhuanJia_wzl(zName);
    }
}
